package cn.gson.crm.model.mapper;

import cn.gson.crm.model.pojos.Complaints;
import cn.gson.crm.model.pojos.Questions;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface QuestionsMapper {
    //查询当前人所有问答
    public List<Questions> selectqus();
    //条件查询
    public List<Questions> selectwhere(@Param("where") String where);
    //根据时间查询
    public List<Questions> selecttime(@Param("statr") String statr,@Param("endtime") String endtime);
}
